home *** CD-ROM | disk | FTP | other *** search
-
-
-
- █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
- █▀█▀█▀▀█▀▀█▀▀▀█▀▀▀█▀▀▀ H O R I Z O N S ▀▀▀▀█▀▀▀█▀▀▀█▀▀█▀▀█▀█▀█
- ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Consulting ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
- ≡ 1432 E. Commercial Street ─ Springfield, MO 65803 ≡
- ≡ Phone: (417) 839-2174 - Fax: (417) 831-1329 ≡
- ─────── presents ───────
- ▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄
- █▄▄ ▄▄█ █ ▄▄▄▄▄ █
- █ █ ▄▄▄▄▄▄▄ █ █ █▄▄█ ▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄ ▄▄tm
- █ █ █ ▄▄▄▄█ █ █ █ █ █ ▄▄▄ █ █ ▄▄▄▄█ █ █ ▄▀ █
- █ █ █ █▄▄▄▄ █ █ █ █ █ █ █ █ █ █ █ █▀ ▄▀
- █ █ █▄▄▄▄ █ █ █ ▄▄▄▄ █ █ █ █ █ █ █ █ █ ▀▄
- ▄▄█ █▄▄ ▄▄▄▄█ █ █ █▄▄▄█ █ █ █▄▄▄▄ █ █▄█ █ █ █▄▄▄▄ █ █▀▄ ▀▄
- █▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █▄█ ▀▄█
- ≡ Copyright 1991 ≡
-
- This copy of IsClock is a shareware evaluation copy. It
- requires that a key be pressed before each use. If you find that
- IsClock is a program that meets your needs, please take the time
- to register. The registration fee for IsClock is $25. All users
- who register will receive a release version that does not require
- a key be pressed to execute.
-
- IsClock is designed to make accessing the time and date
- functions of your system clock with batch files a much easier
- task. IsClock evaluates expressions in an algebraic fashion to
- return a simple True or False status to your batch file by using
- the ERRORLEVEL mechanism.
-
- The legal syntax for IsClock is:
-
- ISCLOCK parameter operator parameter
-
- IsClock will evaluate the expression and set a DOS ERRORLEV-
- EL of 1 if the expression is True, 0 if False, and 255 if the
- expression isn't legal.
-
-
- OPERATORS
- ---------
- The legal operators for IsClock are:
-
- = : Equals
- ~ : Equals [Same as =]
- {} : Does not equal
- } : Is greater than
- { : Is less than
- }= : Is greater than or equal to
- {= : Is less than or equal to
-
- Note: The curly brackets are used instead of the < and >
- symbols since these symbols are used for DOS redirection pur-
- poses.
-
-
- PARAMETERS
- ----------
- The legal parameters for IsClock are:
-
- Day : Returns current day of the month. (1-31)
- Month : Returns the current month. (1-12)
- Year : Returns the year. (Either XX or XXXX format)
- Hour : Returns the current hour. (00-23)
- Minute : Returns the current minute. (00-59)
- Second : Returns the current second. (00-59)
- DayName : Returns the current Day of Week. (Sun-Sat)
- Date : Returns the current date. (XX/XX/XX)
- Today : Same as Date. (XX/XX/XX)
-
-
- CONSTANTS
- ---------
- To facilitate ease of use, the following constants are
- recognized by the IsClock program:
-
- Month Names:
- ------------
- Jan, January : Evaluates to 1.
- Feb, February : Evaluates to 2.
- Mar, March : Evaluates to 3.
- Apr, April : Evaluates to 4.
- May : Evaluates to 5.
- Jun, June : Evaluates to 6.
- Jul, July : Evaluates to 7.
- Aug, August : Evaluates to 8.
- Sep, September : Evaluates to 9.
- Oct, October : Evaluates to 10.
- Nov, November : Evaluates to 11.
- Dec, December : Evaluates to 12.
-
- Day Names:
- ----------
- Sun, Sunday : Evaluates to 1.
- Mon, Monday : Evaluates to 2.
- Tue, Tuesday : Evaluates to 3.
- Wed, Wednesday : Evaluates to 4.
- Thu, Thursday : Evaluates to 5.
- Fri, Friday : Evaluates to 6.
- Sat, Saturday : Evaluates to 7.
-
-
- EXAMPLES
- --------
- Simple Examples using IsClock:
-
- ISCLOCK Hour=17
- ISCLOCK Year}=1999
- ISCLOCK Dayname{}Friday
- ISCLOCK Dn{}6
-
-
- Note that in the last two examples given above are the same
- expression stated two different ways.
-
- IsClock also supports creating more complex expressions by
- using the optional operators AND and OR. Examples:
-
- ISCLOCK Hour=8 and DayName}=Monday and Dayname{=Friday
- [Must be time to go to work!]
-
- ISCLOCK Month=11 and dayname=Tuesday and day}1 and day{9
- [Looks like it's election day!]
-
- ISCLOCK year{}1992 or dayname{}4
- [Returns true on all days except Wed, and all days in 1992.]
-
- ISCLOCK today{}01/01/00 or today=01/01/00
- [This always returns true!]
-
- Note: The AND and OR operators cannot be mixed upon the same
- expression line, therefore the following is not legal:
-
- ISCLOCK month=1 and day=1 or day=2
-
- If you have any questions regarding the use of IsClock,
- please feel free to call Horizons Consulting, from 8 am to 6 pm,
- Monday thru Friday, or:
-
- ISCLOCK hour=}8 and hour{=18 and dayname}1 and dayname{7.
-
- Thanks for taking the time to read this Doc file and for
- evaluating IsClock.
-
-
-